﻿<UserControl x:Class="TaskbarConcepts.ThumbnailClip"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Rectangle Grid.RowSpan="4" Style="{DynamicResource BorderStyle}" />
    <TextBlock Text="Toolbar Clip " Margin="{DynamicResource BoxedContentMargin}"/>
    <MediaElement  Grid.Row="1" x:Name="mediaElement" Stretch="Uniform" MinWidth="400"
                   MinHeight="400" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="{DynamicResource BoxedContentMargin}" />
    <Button Click="OnOpenMedia" Grid.Row="2" Width="400">
      <TextBlock TextWrapping="Wrap" Text="Click here to load a video that you can then see in the taskbar" />
    </Button>
  </Grid>
</UserControl>
